<template>
    <div class="store-detail-sales h_box pr mb15">
        <div class="flex_1"><i class="icon-font icon-bg-orange">新店促销</i></div>
        <div class="flex_1">
            <p>折期间享9.5折期间享9.5折折期间享9.5折期间享9.5折折期间享9.5折期间享9.5折折期间享9.5折期间享9.5折折期间享9.5折期间享9.5折折期间享9.5折期间享9.5折
            <i class="icon fr pa">></i>
            </p>
        </div>
        
    </div>




</template>

<style lang="scss" scoped>    
        @import "../../assets/css/_functions.scss";
        @import "../../assets/css/_variables.scss";


        .store-detail-sales{
            background: $_fff;
            padding:rem(13) rem(15);
            font-size: rem(14);
            .flex_1:first-child{
               width: 28%; 
            }
            .flex_1:last-child{
                width: 100%;
                display: inline-block;
                text-right:right;
                padding-right:rem(15);
                height:rem(16);
                line-height: rem(16);
                overflow:hidden;
            }
            .icon{
                right:rem(15);
                top:rem(14);
            }
        }

</style>









<script>
import Vue from 'vue'; 
import VueResrource from 'vue-resource';
Vue.use(VueResrource);
export default {
    data() {
        return {
            isA:false,
            isB:true
        }
    },
    methods: {
        tab: function (type) {
           this.isA = Boolean(type);
           this.isB = !this.isA;
        }
    },
    ready: function () {

        this.$http.get('api/detail/spuDetail.htm?channelType=1&spuCode=105903', {
            })
                .then(( res ) => {
                    // success
                    
                    var data = res.data;
                    
                    console.log(123)
                    //console.log(data)
                }, () => {
                    // error
                });
        
    }
}
</script>
